#pragma once

#include "Network.h"

class SystemFacade
{
private:
	Network *network;

public:
	SystemFacade();
	virtual ~SystemFacade(void);

	int getNestsCount();
	int getMachinesCount(int nestId);
	int isMachineFree(int nestId, int machineId);
	std::vector<int> getNestOutConnections(int nestId);
	bool hasNestInConnections(int nestId);
	int getBufferCapacity(int nestId);
	int getBufferCount(int nestId);

	void tick();
	void loadNetwork(std::string config);
	std::string readLog();
};

